/**
 * 
 */
package cn.java.innerclass;

/**
* 处理结果父类
* @author 攀博课堂
* @version v1.0
*/
public class ProcessorResult {
	
	//结果代码 1表示成功，0表示失败
	private int code;
	//失败信息
	private String msg;
	
	public ProcessorResult(int code,String msg) {
		this.code = code;
		this.msg = msg;
	}

	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(int code) {
		this.code = code;
	}

	/**
	 * @return the msg
	 */
	public String getMsg() {
		return msg;
	}

	/**
	 * @param msg the msg to set
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	

}
